﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace CCSDocument
{
    public class InputDocumentCmd:SharpMap.Utilities.BaseCommand
    {
        private System.Windows.Forms.Form m_pMainForm;

	    public InputDocumentCmd()
		{
			base.m_caption = "认购书输入";
		    base.m_name = "认购书输入";
            base.m_toolTip = "认购书输入";
		}
	
		public override void OnCreate(object hook)
		{
            m_pMainForm = (Form)hook;
        }


		public override void OnClick()
		{
	        base.OnClick ();
            InputDocumentForm m_frmInputDocumentForm = new InputDocumentForm();
            m_frmInputDocumentForm.MdiParent = m_pMainForm;
            m_frmInputDocumentForm.m_user = m_user;
            m_frmInputDocumentForm.Show();
            m_frmInputDocumentForm.WindowState = FormWindowState.Maximized;   
 		}

     
    }
}
